<%@ page language="java" pageEncoding="UTF-8"%>
<script type="text/javascript">
	$(function() {
		$('#addrbook_addrbookAdd_addGroupCombobox').combobox({
			valueField : 'id',
			textField : 'groupName',
			editable:false,
			onSelect : function(rec) {
				$('#addrbook_addrbookAdd_addAddrbookForm input[name=groupId]').val(rec.id);
			}
		});
	});
</script>
<form id="addrbook_addrbookAdd_addAddrbookForm" method="post">
	<table>
		<tr>
			<td style="text-align: right;">姓名：</td>
			<td colspan="3"><input name="name" class="easyui-validatebox" data-options="required:true,missingMessage:'必填项'" />
		</tr>
		<tr>
			<td style="text-align: right;">性别：</td>
			<td><input type="radio" name="gender" value="01" checked="checked" />&nbsp;男
			<input type="radio" name="gender" value="02" />&nbsp;女</td>
			<td style="text-align: right;">职位：</td>
			<td><input name="position" />
		</tr>
		<tr>
			<td style="text-align: right;">工作单位：</td>
			<td colspan="3"><input name="corporationName" style="width:392px;" />
			</td>
		</tr>
		<tr>
			<td style="text-align: right;">手机：</td>
			<td><input name="mobile" />
			</td>
			<td style="text-align: right;">QQ：</td>
			<td><input name="qq" />
			</td>
		</tr>
		<tr>
			<td style="text-align: right;">固话：</td>
			<td><input name="phone" />
			</td>
			<td style="text-align: right;">传真：</td>
			<td><input name="fax" />
			</td>
		</tr>
		<tr>
			<td style="text-align: right;">电子邮件：</td>
			<td><input name="email" />
			</td>
			<td style="text-align: right;">&nbsp;&nbsp;所在群组：</td>
			<td><input class="easyui-combobox" id="addrbook_addrbookAdd_addGroupCombobox" name="groupName" /></td>
		</tr>
	</table>
	<input name="addrbookType" type="hidden" value="01" />
	<input name="userId" type="hidden" />
	<input name="groupId" type="hidden" />
</form>